home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c
- Path: howland.reston.ans.net!torn!sq!msb
- From: msb@sq.com (Mark Brader)
- Subject: Re: Function returning structure
- Message-ID: <1996Jan26.011843.2108@sq.com>
- Organization: SoftQuad Inc., Toronto, Canada
- References: <4e2ki8$l0k@solutions.solon.com> <4e5p00$6g9@solutions.solon.com> <4e7tc5$mk@solutions.solon.com>
- Date: Fri, 26 Jan 1996 01:18:43 GMT
-
- Norman Diamond (diamond@jrdv04.enet.dec-j.co.jp) writes:
- > > ... can non-lvalue arrays be passed to a function and accessed by
- > > the stdarg macros there?
- >
- > I think that the standard permits it,
-
- I agree. Of course, the non-lvalue array type is as useless inside
- the called function as anywhere else.
-
- > and the standard needs to be fixed.
-
- I don't see why. I mean, given that non-lvalue arrays are permitted
- at all, I don't see why it is important to prohibit them in this
- particular case only. On the other hand, I don't see a reason to
- allow them in the first place, except as a member of an aggregate.
- --
- Mark Brader, msb@sq.com "The time to make up your mind about people
- SoftQuad Inc., Toronto is never." -- The Philadelphia Story
-
- My text in this article is in the public domain.
-